[INFO] cloning repository https://github.com/mhmtsnmzkanly/curious
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mhmtsnmzkanly/curious" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhmtsnmzkanly%2Fcurious", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhmtsnmzkanly%2Fcurious'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e9adfbe245caf558e82d27b2c20dabbbe5259a9e
[INFO] fixing mhmtsnmzkanly/curious against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhmtsnmzkanly%2Fcurious" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mhmtsnmzkanly/curious
[INFO] finished tweaking git repo https://github.com/mhmtsnmzkanly/curious
[INFO] tweaked toml for git repo https://github.com/mhmtsnmzkanly/curious written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mhmtsnmzkanly/curious on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mhmtsnmzkanly/curious already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded time-macros v0.2.26
[INFO] [stderr]   Downloaded time v0.3.46
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7fe7b4b3051e329fe2b1d8e637b55886bb58063e318ae24a3a566dbf54312d6a
[INFO] running `Command { std: "docker" "start" "7fe7b4b3051e329fe2b1d8e637b55886bb58063e318ae24a3a566dbf54312d6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7fe7b4b3051e329fe2b1d8e637b55886bb58063e318ae24a3a566dbf54312d6a" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7fe7b4b3051e329fe2b1d8e637b55886bb58063e318ae24a3a566dbf54312d6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7fe7b4b3051e329fe2b1d8e637b55886bb58063e318ae24a3a566dbf54312d6a" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking deranged v0.5.5
[INFO] [stderr]     Checking num-conv v0.2.0
[INFO] [stderr]     Checking time v0.3.46
[INFO] [stderr]     Checking curious v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0599]: no method named `life_mut` found for struct `HerbivoreEntity` in the current scope
[INFO] [stdout]   --> src/systems/metabolism.rs:69:16
[INFO] [stdout]    |
[INFO] [stdout] 69 |         entity.life_mut().age = 999; 
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/creatures/herbivore.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct HerbivoreEntity {
[INFO] [stdout]    | -------------------------- method `life_mut` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/entity/mod.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn life_mut(&mut self) -> &mut LifeState;
[INFO] [stdout]    |        -------- the method is available for `HerbivoreEntity` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Entity` which provides `life_mut` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 61 +     use crate::entity::Entity;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `life` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 -         entity.life_mut().age = 999; 
[INFO] [stdout] 69 +         entity.life().age = 999; 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `life_mut` found for struct `HerbivoreEntity` in the current scope
[INFO] [stdout]   --> src/systems/metabolism.rs:70:16
[INFO] [stdout]    |
[INFO] [stdout] 70 |         entity.life_mut().max_age = 1000;
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/creatures/herbivore.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct HerbivoreEntity {
[INFO] [stdout]    | -------------------------- method `life_mut` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/entity/mod.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn life_mut(&mut self) -> &mut LifeState;
[INFO] [stdout]    |        -------- the method is available for `HerbivoreEntity` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Entity` which provides `life_mut` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 61 +     use crate::entity::Entity;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `life` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 70 -         entity.life_mut().max_age = 1000;
[INFO] [stdout] 70 +         entity.life().max_age = 1000;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `default` found for struct `Position` in the current scope
[INFO] [stdout]   --> src/systems/metabolism.rs:72:53
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let mut slot = EntitySlot::new(1, Position::default(), EntityPhase::Active, EntityController::AI, Box::new(entity));
[INFO] [stdout]    |                                                     ^^^^^^^ associated function or constant not found in `Position`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/map/movement.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct Position {
[INFO] [stdout]    | ------------------- associated function or constant `default` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `Position`, consider using `Position::new` which returns `Position`
[INFO] [stdout]   --> src/map/movement.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn new(x: isize, y: isize) -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `default`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Default`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `life_mut` found for struct `HerbivoreEntity` in the current scope
[INFO] [stdout]   --> src/systems/metabolism.rs:86:16
[INFO] [stdout]    |
[INFO] [stdout] 86 |         entity.life_mut().energy = 0;
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/creatures/herbivore.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct HerbivoreEntity {
[INFO] [stdout]    | -------------------------- method `life_mut` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/entity/mod.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn life_mut(&mut self) -> &mut LifeState;
[INFO] [stdout]    |        -------- the method is available for `HerbivoreEntity` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Entity` which provides `life_mut` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 61 +     use crate::entity::Entity;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `life` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 86 -         entity.life_mut().energy = 0;
[INFO] [stdout] 86 +         entity.life().energy = 0;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `life_mut` found for struct `HerbivoreEntity` in the current scope
[INFO] [stdout]   --> src/systems/metabolism.rs:87:16
[INFO] [stdout]    |
[INFO] [stdout] 87 |         entity.life_mut().health = 100;
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/creatures/herbivore.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct HerbivoreEntity {
[INFO] [stdout]    | -------------------------- method `life_mut` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/entity/mod.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn life_mut(&mut self) -> &mut LifeState;
[INFO] [stdout]    |        -------- the method is available for `HerbivoreEntity` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Entity` which provides `life_mut` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 61 +     use crate::entity::Entity;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `life` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 87 -         entity.life_mut().health = 100;
[INFO] [stdout] 87 +         entity.life().health = 100;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `default` found for struct `Position` in the current scope
[INFO] [stdout]   --> src/systems/metabolism.rs:89:53
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let mut slot = EntitySlot::new(1, Position::default(), EntityPhase::Active, EntityController::AI, Box::new(entity));
[INFO] [stdout]    |                                                     ^^^^^^^ associated function or constant not found in `Position`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/map/movement.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct Position {
[INFO] [stdout]    | ------------------- associated function or constant `default` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `Position`, consider using `Position::new` which returns `Position`
[INFO] [stdout]   --> src/map/movement.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn new(x: isize, y: isize) -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `default`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Default`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `life_mut` found for struct `HerbivoreEntity` in the current scope
[INFO] [stdout]    --> src/systems/metabolism.rs:102:16
[INFO] [stdout]     |
[INFO] [stdout] 102 |         entity.life_mut().health = 50;
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/creatures/herbivore.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout]  13 | pub struct HerbivoreEntity {
[INFO] [stdout]     | -------------------------- method `life_mut` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/entity/mod.rs:15:8
[INFO] [stdout]     |
[INFO] [stdout]  15 |     fn life_mut(&mut self) -> &mut LifeState;
[INFO] [stdout]     |        -------- the method is available for `HerbivoreEntity` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Entity` which provides `life_mut` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]  61 +     use crate::entity::Entity;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `life` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 102 -         entity.life_mut().health = 50;
[INFO] [stdout] 102 +         entity.life().health = 50;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `life_mut` found for struct `HerbivoreEntity` in the current scope
[INFO] [stdout]    --> src/systems/metabolism.rs:103:16
[INFO] [stdout]     |
[INFO] [stdout] 103 |         entity.life_mut().energy = 100; // Enerji var, iyileşmeli
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/creatures/herbivore.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout]  13 | pub struct HerbivoreEntity {
[INFO] [stdout]     | -------------------------- method `life_mut` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/entity/mod.rs:15:8
[INFO] [stdout]     |
[INFO] [stdout]  15 |     fn life_mut(&mut self) -> &mut LifeState;
[INFO] [stdout]     |        -------- the method is available for `HerbivoreEntity` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Entity` which provides `life_mut` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]  61 +     use crate::entity::Entity;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `life` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 103 -         entity.life_mut().energy = 100; // Enerji var, iyileşmeli
[INFO] [stdout] 103 +         entity.life().energy = 100; // Enerji var, iyileşmeli
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `default` found for struct `Position` in the current scope
[INFO] [stdout]    --> src/systems/metabolism.rs:105:53
[INFO] [stdout]     |
[INFO] [stdout] 105 |         let mut slot = EntitySlot::new(1, Position::default(), EntityPhase::Active, EntityController::AI, Box::new(entity));
[INFO] [stdout]     |                                                     ^^^^^^^ associated function or constant not found in `Position`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/map/movement.rs:7:1
[INFO] [stdout]     |
[INFO] [stdout]   7 | pub struct Position {
[INFO] [stdout]     | ------------------- associated function or constant `default` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Position`, consider using `Position::new` which returns `Position`
[INFO] [stdout]    --> src/map/movement.rs:14:5
[INFO] [stdout]     |
[INFO] [stdout]  14 |     pub fn new(x: isize, y: isize) -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `default`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Default`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `map::movement::Position` and `perception::Perception`
[INFO] [stdout]  --> src/main.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 |     entity::{perception::Perception, phase::EntityPhase},
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 6 |     map::movement::Position,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let mut tick_counter: usize = 0;
[INFO] [stdout]    |         ----^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tick_counter`
[INFO] [stdout]   --> src/main.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let mut tick_counter: usize = 0;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tick_counter`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `map::movement::Position` and `perception::Perception`
[INFO] [stdout]  --> src/main.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 |     entity::{perception::Perception, phase::EntityPhase},
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 6 |     map::movement::Position,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let mut tick_counter: usize = 0;
[INFO] [stdout]    |         ----^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tick_counter`
[INFO] [stdout]   --> src/main.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let mut tick_counter: usize = 0;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tick_counter`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `curious` (lib test) due to 9 previous errors
[INFO] running `Command { std: "docker" "inspect" "7fe7b4b3051e329fe2b1d8e637b55886bb58063e318ae24a3a566dbf54312d6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7fe7b4b3051e329fe2b1d8e637b55886bb58063e318ae24a3a566dbf54312d6a", kill_on_drop: false }`
[INFO] [stdout] 7fe7b4b3051e329fe2b1d8e637b55886bb58063e318ae24a3a566dbf54312d6a
